Introduction to Computational Thinking
👀 Reading hidden code
@htl("""
<style>
body {
overflow-x: hidden;
}
</style>
<div style='
position: absolute;
z-index: 1;
left: -50vw;
width: max(1000px, 150vw);
margin-top: -200px;
height: 400px;
background-size: cover;
image-rendering: pixelated;
'>
</div>
<div style='
position: absolute;
z-index: 2;
'>
<h1 style='
background: white;
border: none;
padding: .1em .3em;
border-radius: .3em;
box-shadow: 0px 0px 10px rgba(0,0,0,.2);
'>Introduction to Computational Thinking</h1>
</div>
<div style='
using Images
👀 Reading hidden code
import ImageIO
👀 Reading hidden code
using DitherPunk
👀 Reading hidden code
Gray.(rand(20,20))
👀 Reading hidden code
base = [
f(x,y)
for y in 0:.005:1,
x in 0:.005:2
] .|> Gray
👀 Reading hidden code
Gray.(d)
👀 Reading hidden code
# @htl("""
# $(PlutoRunner.embed_display(result))
# """)
👀 Reading hidden code
d = dither(Bool, base, FloydSteinberg());
👀 Reading hidden code
👀 Reading hidden code
👀 Reading hidden code
👀 Reading hidden code
using Base64
👀 Reading hidden code
imgurl (generic function with 1 method)
imgurl(img) = "data:image/png;base64," * base64encode(io -> show(io, MIME"image/png"(), img))
👀 Reading hidden code
f (generic function with 1 method)
function f(x,y)
clamp(
0.5 * (1 + sin(y * 20 + sin(y * x1 + x^x2 * x3)))
,
0.0,
1.0
)
end
👀 Reading hidden code
using HypertextLiteral
👀 Reading hidden code
using PlutoUI
👀 Reading hidden code
How to collaborate on software
What is the simplest way to collaborate on project online? You can email files to each other! This works for small projects, but at some point, you will need something more suited to the task. For example:
Encyclopedia – a wiki system
School essay – Google Drive
Software project – GitHub
For software projects, people of use GitHub, or similar (git-based) tools to collaborate on their work. Why is that?
md"""
# How to collaborate on software
What is the simplest way to collaborate on project online? You can _email files to each other!_ This works for small projects, but at some point, you will need something more suited to the task. For example:
- Encyclopedia -- a wiki system
- School essay -- Google Drive
- **Software project -- GitHub**
For software projects, people of use GitHub, or similar (git-based) tools to collaborate on their work. Why is that?
"""
👀 Reading hidden code
# i want to go here 👉 and not here 👉
👀 Reading hidden code
Multiple expressions in one cell.
How would you like to fix it?
# i press up from here 👉
asfdasdf
asdf
👀 Reading hidden code